package com.gcxy.shop.service;

import java.util.List;

import com.gcxy.shop.dao.ShopDao;
import com.gcxy.shop.domain.Shop;

public class ShopService {

	public void delete(Long id) {
		//删除一个
		ShopDao.delete(id);
	}

	/**
	 * 根据商品名称模糊查询商品列表
	 * @param shop
	 * @return
	 */
	public List<Shop> findPager(Shop shop) {
		
		return ShopDao.findPager(shop);
	}
	
	

}
